Automattic\Jetpack\Publicize\REST_Controller S

Total Complexity 35
Dependencies 6
Dependents 3
Total lines 532
Lines of code 347
Logical lines of code 104
Comment lines 119
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
register_rest_routes()
S
37 1 100
update_publicize_connection()
S
49 5 34
create_publicize_connection()
S
47 4 39
make_proper_response()
S
58 5 15
update_dismissed_notices()
S
59 4 14
get_publicize_connections()
S
61 3 13
get_social_product_info()
S
56 2 19
get_jetpack_social_connections_schema()
S
54 1 23
share_post()
S
55 1 22
get_dismiss_notice_endpoint_schema()
S
55 1 21
get_jetpack_social_connections_update_schema()
S
57 1 18
get_blog_id()
S
79 2 3
delete_publicize_connection()
S
62 1 11
get_publicize_connection_test_results()
S
69 1 6
require_author_privilege_callback()
S
80 1 3
require_admin_privilege_callback()
S
80 1 3
__construct()
S
81 1 3